package com.hw1102.Test4;

public class Manager extends Emp {
    private double bonus;

    public double getBonus() {
        return bonus;
    }

    public void setBonus(double bonus) {
        this.bonus = bonus;
    }

    public Manager(){

    }

    public Manager(String name, double sal, double saving,double bonus){
        super(name, sal, saving );
        this.bonus = bonus;
    }
}
